package com.seaengine.valueobject
{
	public class BattleResultVo extends BaseVo
	{
		
		public var exp:Number = 0;
		public var qianneng:Number = 0;
		public var money:Number = 0;
		public var items:int = 0;
		public var itemAry:Array = [];
		public var monsterId:Number = 0;
		public var pkPoint:Number = 0;
		public var contribution:Number = 0;
		public var prestiges:Array = [];
		public var fightFileName:String = "";
		public var battleResult:String="";
		public var hasAcceptedTaskChangeList:Array = [];
		public var jjcMoney:Number = 0;
		public var score:uint = 0;
		public var campScore:uint = 0;
		public var allScore:uint = 0;
		public var lilianMoney:Number = 0;
		public var isRobMuRen:Boolean = false;
		public function BattleResultVo()
		{
			super();
		}
		public var bAutoClose:Boolean = true;/**是否自动关闭结算窗口*/
		public var type:int;/**结算类型：1,战斗;2,宝箱;3,估计历练*/
		
		/**
		 * 验证是否具有奖励
		 * @return true，具有奖励；false，不具有奖励
		 * 
		 */		
		public function validate():Boolean
		{
			return exp != 0 || qianneng != 0 || money != 0 || contribution != 0 || jjcMoney != 0 || pkPoint != 0 || prestiges.length > 0 || items > 0||score>0||campScore>0||allScore>0 || lilianMoney !=0;  
		}
	}
}